﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IpcServer
{
    class RemoteObject : MarshalByRefObject
    {
        public int callCount = 0;

        public int GetCount()
        {
            Console.WriteLine("GetCount has been called.");
            callCount++;
            return (callCount);
        }
    }
}
